* {margin:0;padding:0}

body {
	background:#fff;
	color:#000;
	font:14px Arial;
}

h1 {
	margin-bottom:10px;
	color:#369
}
p {
	margin-bottom:10px
}
a{
	color:blue;
	text-decoration: underline
}
a.ok{color:darkgreen}
a.error{color:red}

#flashMessage {
	padding:5px 10px;
	font-weight:bolder
}
#flashMessage.error {background:red;color:white}
#flashMessage.ok    {background:darkgreen;color:white}
.error-message {color:red; display:inline-block}

label {
	cursor:pointer;
	margin:7px 0
}
input[type=text], input[type=password], textarea, select {
	padding:2px 4px;
	border:1px solid #ccc;
	background:#fff;
	margin:5px;
	font:12px Arial
}
input[type=submit], input[type=button], button {
	margin:5px;
	border:0;
	border-radius:3px;
	padding:5px 10px;
	background:linear-gradient(#ddd, #ccc);
	color:#555;
	cursor:pointer;
}
input[type=submit]:hover, input[type=button]:hover, button:hover {
	background:linear-gradient(#ccc, #bbb);
	color:#fff
}
input.datepicker {
	cursor:pointer;
	width:80px;
	padding-right:20px;
	background:url(../img/calendar.gif) no-repeat 98% center
}
input.small {width:40px}
textarea {
	width:460px;
	height:90px;
	resize: none
}

fieldset {
	padding:10px;
	border:1px solid #ccc;
	margin:10px 0;
	display:inline-block
}
	legend {
		padding:0 10px;
		color:#aaa;
		font-size:12px
	}

menu {
	background:#ccc;
	box-shadow:0 0 3px #000;
	padding:10px 0;
	float:left;
	width:100%
}
    menu li {
        list-style:none;
        display:inline-block
    }
    menu li:first-child {
        margin-left:10px
    }
    menu li:last-child {
        float:right;
        margin-right:10px
    }
    menu a {
        color:#000;
        text-decoration:none;
        padding:5px
    }
    menu .user {
    	font-weight:bolder;
    	margin-right:20px;
    }
    
#content {
	display:block;
	clear:both;
	padding:20px
}

table {
	border:1px solid #ccc;
	border-collapse: collapse
}
	th, td {
		padding:5px;
		text-align:left;
		vertical-align: top
	}
	th {
		background:#aaa;
		color:#fff;
	}
	tr:nth-child(2n+1) td{background:#eee}
	
.rule {
    height:20px;
    line-height:20px
}
	.rule label{display:inline-block;width:120px}
	.arguments {display:none;margin-left:20px}
	.arguments.selected{display:inline-block}
	.arguments>span{margin-left:10px}
	.arguments input{margin:0 5px}
	.arguments label{width:auto}
	
ul.errors {
	margin:10px 0;
	color:red;
	padding-left:20px
}